﻿<%@ Page Title="月报统计" Language="C#" MasterPageFile="~/Master/MasterPage.master"
	AutoEventWireup="True" CodeBehind="Report4.aspx.cs" Inherits="TotalDrugs_Report4" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div id="tabnav">
		<ul>
			<li class="active"><a href="#">月报4（产品采购汇总）</a></li>
		</ul>
	</div>
	<div id="tabcontent">
		<table class="querylist">
			<tr>
				<td align="right">流水号：
				</td>
				<td align="left">
					<asp:TextBox ID="txtGoodsid" runat="server"></asp:TextBox>
				</td>
				<td align="right">产品注册证名称：
				</td>
				<td align="left">
					<asp:TextBox ID="txtRegName" runat="server"></asp:TextBox>
				</td>
				<td align="right">开始时间：
				</td>
				<td align="left">
					<asp:TextBox ID="txtStratTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
				</td>
				<td align="right">截止时间：
				</td>
				<td align="left">
					<asp:TextBox ID="txtEndTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
				</td>
				<td rowspan="2">
					<hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
				</td>

			</tr>
		</table>
	</div>
	<asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
		AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
		<Columns>
			<asp:TemplateField HeaderText="序号">
				<ItemTemplate>
					<%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%>
				</ItemTemplate>
				<HeaderStyle Width="30px" />
			</asp:TemplateField>
			<asp:BoundField DataField="GoodsID" HeaderText="流水号" />
			<asp:BoundField DataField="RegName" HeaderText="产品注册证名称" />
			<asp:BoundField DataField="RegCode" HeaderText="注册证号" />
			<asp:BoundField DataField="PurchaseCount" HeaderText="采购数量" />
			<asp:BoundField DataField="PurchaseAmount" HeaderText="采购金额" />
		</Columns>
	</asp:GridView>
	<div class="page">
		<span style="width: 30%; float: left; text-align: left">
			<hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
		</span><span style="width: 70%; text-align: right; float: right">
			<webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
				OnPageChanged="AspNetPager_CompanyPS_PageChanged">
			</webdiyer:AspNetPager>
		</span>
	</div>
	<br />
	<div class="listip">
		<ul>
			<li>说明:<asp:Label ID="lblMemo" runat="server"></asp:Label>
			</li>
		</ul>
	</div>
</asp:Content>
